package com.jie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jie.dto.CombinationTopicDTO;
import com.jie.dto.ThematicCategoryDTO;
import com.jie.entity.ThematicCategory;
import com.jie.vo.ConditionVO;
import com.jie.vo.PageResult;
import com.jie.vo.ThematicCategoryVO;

import java.util.List;

/**
 * <p>
 * 专题大类 服务类
 * </p>
 *
 * @author jie
 * @since 2024-04-21
 */
public interface IThematicCategoryService extends IService<ThematicCategory> {

    //分页查询运动专题
    PageResult<ThematicCategoryDTO> getThematicCategoryPageInfo(ConditionVO conditionVO);

    /**
     * 添加专题大类信息
     * @param thematicCategoryVO
     * @return
     */
    Boolean saveThematicCategory(ThematicCategoryVO thematicCategoryVO);

    /**
     * 删除专题大类信息
     * @param thematicCategoryId
     * @return
     */
    Boolean deleteThematicCategory(Integer thematicCategoryId);

    /**
     * 根据id查看专题信息
     * @param thematicCategoryId
     * @return
     */
    ThematicCategory getThematicCategoryPageInfoById(Integer thematicCategoryId);

    /**
     * 根据专题名称获取到专题的全部推荐信息（推荐个数自定义）
     * @param thematicCategoryName
     */
    CombinationTopicDTO getThematicCategoryPageInfoByName(List<String> thematicCategoryName);
}
